import Vue from 'vue'
let $u = Vue.prototype.$u

export const getJobList = ({condition={},page=0}={condition:{},page:0})=>{
	let wh = JSON.stringify(condition)
	return $u.get(`/1.1/classes/Jobs?where=${wh}&limit=10&skip=${page*10}`)
}

export const getCfy = ()=>{
	return $u.get('/1.1/classes/Classify')
}